import React from 'react'
import { withRouter, NavLink } from 'react-router-dom'
import { observer, inject } from 'mobx-react'
@withRouter
@inject('first','three')
@observer
class App extends React.Component {
    render() {
        const {name}=this.props.three
        return (
            <React.Fragment>
                <div>
                    <br />
                <NavLink to='/starts' >XXXX1</NavLink>
                <br />
                    <NavLink to='/Sx' >xxxx2</NavLink>
                {name}
                   
                </div>
            </React.Fragment>
        )
    }
}
export default App
